Total Complexity | 74 |
Dependencies | 5 |
Dependents | 2 |
Total lines | 529 |
Lines of code | 397 |
Logical lines of code | 206 |
Comment lines | 50 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
format_product_for_square() | 21 | 156 | ||
update_wc_product_with_square_ids() | 49 | 12 | 31 | |
update_square_inventory_counts() | 49 | 8 | 29 | |
get_square_option_value_id() | 48 | 7 | 33 | |
get_square_option_id() | 47 | 6 | 38 | |
process_products() | 51 | 6 | 26 | |
import_products() | 47 | 5 | 35 | |
send_inventory_updates_to_square() | 56 | 3 | 18 | |
prepare_inventory_change() | 59 | 3 | 14 | |
fetch_square_item_options() | 69 | 2 | 7 | |
wc_get_product_id_by_temp_id() | 64 | 1 | 10 |